Auto merge of #3243 - alexcrichton:target-feature, r=brson
authorbors <bors@rust-lang.org>
Thu, 3 Nov 2016 04:26:37 +0000 (21:26 -0700)
committerGitHub <noreply@github.com>
Thu, 3 Nov 2016 04:26:37 +0000 (21:26 -0700)
commit78234226cd81dac4685c22d3deedaf698c1303b4
tree4da6fad5b257420b7b19ff266d4855a548d30d5b
parent00a5cb1a20df9c8ef42030e22b79837a844ad4b9
parent23587ee744ebd0f85714529f9c956b10803c4be8
Auto merge of #3243 - alexcrichton:target-feature, r=brson

Expose rustc cfg values to build scripts

This commit is Cargo's portion of the implementation of [RFC 1721] where it will
expose values printed by `rustc --print cfg` to build scripts.

[RFC 1721]: https://github.com/rust-lang/rfcs/blob/master/text/1721-crt-static.md

This will in turn be used to communicate features like `-C
target-feature=+crt-static` which can be used to compile objects for statically
linking against the msvcrt on MSVC.